github.com/andybalholm/brotli.Writer.last_flush_pos_ (field)
17 uses
github.com/andybalholm/brotli (current package)
encode.go#L86: last_flush_pos_ uint64
encode.go#L616: s.last_flush_pos_ = 0
encode.go#L831: literal_context_mode = chooseContextMode(&s.params, data, uint(wrapPosition(s.last_flush_pos_)), uint(mask), uint(s.input_pos_-s.last_flush_pos_))
encode.go#L850: var processed_bytes uint = uint(s.input_pos_ - s.last_flush_pos_)
encode.go#L875: if !is_last && s.input_pos_ == s.last_flush_pos_ {
encode.go#L881: assert(s.input_pos_ >= s.last_flush_pos_)
encode.go#L882: assert(s.input_pos_ > s.last_flush_pos_ || is_last)
encode.go#L883: assert(s.input_pos_-s.last_flush_pos_ <= 1<<24)
encode.go#L885: var metablock_size uint32 = uint32(s.input_pos_ - s.last_flush_pos_)
encode.go#L890: writeMetaBlockInternal(data, uint(mask), s.last_flush_pos_, uint(metablock_size), is_last, literal_context_mode, &s.params, s.prev_byte_, s.prev_byte2_, s.num_literals_, s.commands, s.saved_dist_cache_[:], s.dist_cache_[:], &storage_ix, storage)
encode.go#L893: s.last_flush_pos_ = s.input_pos_
encode.go#L898: if s.last_flush_pos_ > 0 {
encode.go#L899: s.prev_byte_ = data[(uint32(s.last_flush_pos_)-1)&mask]
encode.go#L902: if s.last_flush_pos_ > 1 {
encode.go#L903: s.prev_byte2_ = data[uint32(s.last_flush_pos_-2)&mask]
encode.go#L1081: if s.input_pos_ != s.last_flush_pos_ {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |